﻿using AutoMapper;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
using System.Threading.Tasks;
using VM.Common.Result;
using VM.Entity.EntityDto.Topic;
using VM.Entity.EntityMap.Condition;
using VM.Entity.EntityMap.Title;
using VM.Entity.EntityMap.Topic;

namespace VM.IDAL.Topic
{
    public interface ITopicDAL : IBaseDAL
    {



        /// <summary>
        /// 添加TopicType
        /// </summary>
        /// <param name="obj"></param>
        /// <returns></returns>
        public bool insertTopicType(sys_topicType obj);
        /// <summary>
        /// 获取TopicType列表
        /// </summary>
        /// <typeparam name="T"></typeparam>
        /// <param name="whereObj"></param>
        /// <param name="pageSize"></param>
        /// <param name="pageIndex"></param>
        /// <param name="funcOrderby"></param>
        /// <param name="isAsc"></param>
        /// <returns></returns>
        public PagingData<getTopicTypeListDto> getTopicTypeListConditon<T>(List<Condition> whereObj, int pageSize, int pageIndex, Expression<Func<T, object>> funcOrderby, bool isAsc = true) where T : class;




        /// <summary>
        /// 添加topic
        /// </summary>
        /// <param name="obj"></param>
        /// <returns></returns>
        public bool InsertTopic(sys_topic obj);



    }


}
